package me.zhengjie.modules.system.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.zhengjie.base.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author wx
 * @email
 * @date 2025-02-14 14:06:18
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class SysUserIdentityCard extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    /***/
    private Long id;

    /***/
    private Long userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别 0女 1男
     */
    private Integer gender;

    /**
     * 名族
     */
    private String nationality;

    /**
     * 生日
     */
    private LocalDateTime birthDay;

    /**
     * 身份证号码
     */
    private String idNumber;

    /**
     * 地址
     */
    private String address;

    /**
     * 发放地
     */
    private String issuedBy;

    /**
     * 有效期开始
     */
    private LocalDateTime validDateStart;

    /**
     * 有效期结束
     */
    private LocalDateTime validDateEnd;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 正面图片
     */
    private String front;

    /**
     * 反面图片
     */
    private String back;

}
